<?php

declare (strict_types=1);
/*
 * This file is part of Leonsw.
 *
 * @link     https://leonsw.com
 * @document https://docs.leonsw.com
 * @contact  leonsw.com@gmail.com
 * @license  https://leonsw.com/LICENSE
 */
namespace App\Models\MainDB\BlindBox;

use App\Models\MainDB\Gift;
use Illuminate\Database\Eloquent\Model;
/**
 * @property int $id 
 * @property int $pool_id 
 * @property int $prize_id 
 * @property int $count 
 * @property int $draw_count 
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class ExchangeRecord extends Model
{
    protected $table = 'ln_blind_box_exchange_record';
    //protected $fillable = [];
    protected $guarded = [];
    protected $casts = ['id' => 'int', 'user_id' => 'integer', 'pool_id' => 'integer', 'prize_id' => 'integer', 'price' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];

    public $timestamps = false;

    public function getDateFormat()
    {
        return 'Y-m-d H:i:s.u';
    }

}